package org.example.myleet.p1608;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(7 == solution.specialArray(new int[]{7,7,7,7,7,7,7}));
        Assert.isTrue(2 == solution.specialArray(new int[]{3,5}));
        Assert.isTrue(-1 == solution.specialArray(new int[]{0,0}));
        Assert.isTrue(-1 == solution.specialArray(new int[]{3,6,7,7,0}));
        Assert.isTrue(3 == solution.specialArray(new int[]{0,4,3,0,4}));
    }
}
